veryBigNumber = newValue;
}
}
A. The code would not compile at all
B. The code would compile but throw an error while running in
both the cases
C. The code would compile and run successfully in both cases
D. The code would work fine for value 127 and throw an error for
128
Q31: While the following is written as the first line of the Solidity
code, what do you comprehend?
pragma solidity >=0.4.20<0.4.25;
A. The code can be compiled by any compiler with the version
between 0.4.20 and 0.4.25
B. The code can be compiled by any compiler with the version
between 0.4.20 and 0.4.24
C. The code can be compiled by any compiler with the version
greater than 0.4.20 but might not work with 0.4.20
D. The code can be compiled by any compiler with the version
greater than 0.4.20 but might not work with 0.4.25
Q32: You need to implement a very complex mathematical algorithm
in your Solidity code. What kind of operator(s) would be
mandated to be used?
A. Arithmetic operator
B. Assignment operator
C. Bitwise operator
D. Both A and B
Q33: Which operator would be used to write a compact code in
logical comparisons?
A. Arithmetic operator
B. Conditional operator